[HVM][LINUX][TOOLS] Make xm {shutdown|reboot} do something sensible for HVM
authorSteven Smith <ssmith@xensource.com>
Tue, 31 Oct 2006 09:54:49 +0000 (09:54 +0000)
committerSteven Smith <ssmith@xensource.com>
Tue, 31 Oct 2006 09:54:49 +0000 (09:54 +0000)
commit65ae4fc8cde5c5fc667436fe33f0273bcef39951
treebd584b34a386f55f1816355171b3c763d0a86570
parent87410b08dc103e8a8f9ed28f47c90d14da2140b8
[HVM][LINUX][TOOLS] Make xm {shutdown|reboot} do something sensible for HVM
domains with PV drivers loaded.  This patch creates a new PV-on-HVM
module, reboot.ko, which, when loaded, creates control/reboot_module
in the store.  The tools notice this, and disable the watch which would
normally destroy HVM domains which are the target of an xm shutdown
command, allowing the reboot module to shut the domain down cleanly.

Signed-off-by: Tetsu Yamamoto <yamamoto.tetsu@jp.fujitsu.com>
(Checkin comments by Steven Smith <sos22@cam.ac.uk>)
linux-2.6-xen-sparse/drivers/xen/core/Makefile
linux-2.6-xen-sparse/drivers/xen/core/machine_reboot.c [new file with mode: 0644]
linux-2.6-xen-sparse/drivers/xen/core/reboot.c
linux-2.6-xen-sparse/include/xen/reboot.h [new file with mode: 0644]
tools/python/xen/xend/image.py
unmodified_drivers/linux-2.6/Makefile
unmodified_drivers/linux-2.6/mkbuildtree [changed mode: 0644->0755]
unmodified_drivers/linux-2.6/util/Kbuild [new file with mode: 0644]